import type { RuleListParams, RuleListRes } from "@/types/car";
import type { ListResponse } from "@/types/common";
import { request } from "@/utils/reuqest";

/**
 * 获取计费规则列表
 */
export const getRuleListAPI = (params: RuleListParams) =>
  request<ListResponse<RuleListRes>>("/parking/rule/list", "GET", params);